// 拼接HTTPUrl
function url(type, pathname) {
  return window.RPConfig[type] + pathname;
}

const homeApi = {
  //报表统计、业务单元统计、总收集统计数据
  getStatusticsData: params => {
    return $http.post(url('itShare', '/rptHomecard/findList'), params);
  },
  getPieEchartsData: params => {
    return $http.get(url('itShare', `/rptSubmitStat/chart/list`), params)
  },

};



export default homeApi;
